//Source file: D:\\JAVA\\Common.java


public class Common extends User 
{
   
   /**
   @roseuid 675723860208
    */
   public Common() 
   {
    
   }
   
   /**
   @return Double
   @roseuid 6757238C0302
    */
   @Override
   public double calculatePrice() {
      if (getDiscount() == null) {
         // 默认使用全价策略
         setDiscount(new FullPrice());
      }
      return getDiscount().calculatePrice();
   }
}
